Part Number Hot Search : 
130E3 11001 313200P MCA230 CY5711 DR365 AT88S DS28E1
Product Description
Full Text Search
 

To Download CMX909B Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  cml microcircuits communication semiconductor s CMX909B gmsk packet data modem ? 2008 cml microsystems plc d/909b/2 november 2008 features ? gmsk modulation/demodulation ? on-chip packet detection ? rx or tx up to 38.4kbits/sec ? parallel host processor interface ? full and short data packet framing ? low power 3.0v/5.0v operation ? mobitex compatible including r14n short block frames ? flexible operating and powersave modes 1. brief description the CMX909B is a half-duplex gaussian minimum sh ift keyed (gmsk) bt=0.3 modem data pump with on-chip packet data handling. gmsk modulation optim ises the data throughput for a given bandwidth rf channel and the on-chip packet data handling relieves the host c of regular processing tasks, such as maintaining bit and frame synchronisation, block formatting, crc and fec error processing, data interleaving and scrambling. the demodulator uses decision feedback equalisation techniques to reduce the channel distortion effects and enhance the receiver performance without the computational overhead of maximum likelihood (viterbi) estimation methods. the CMX909B is pin, function and software backw ards compatible with the fx909a and mx909a modems and also uses the same exte rnal components. it offers impr oved performance, higher data rates and lower voltage operation, as well as handling the rec ent r14n extension to mobitex for short block frames. the CMX909B also offers 2-st rength xtal driver circuitry ? for wi der choice of xtals, optional zero- error or one-error frame sync. detection, multiple powersave options ? for intelligent power management, and availability in both 24-pin tssop and ssop low-height package options. the CMX909B is ideally suited to wireless data applications such as mobitex terminals, wireless telemetry, licence-free radio data and ism band radio schemes.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 2 d/909b/2 contents section page 1. brief descr iption ................................................................................................. 1 1.1. history ...................................................................................................... 4 2. block di agram ..................................................................................................... 5 3. signal list ............................................................................................................ 6 4. external co mponents......................................................................................... 8 5. general d escription............................................................................................ 9 5.1. description of blocks ............................................................................... 9 5.1.1. data bus buffers......................................................................... 9 5.1.2. address and r/ w dec ode .......................................................... 9 5.1.3. status and data q uality regi sters.............................................. 9 5.1.4. command, mode and cont rol regi sters .................................... 9 5.1.5. data buffer ................................................................................ 10 5.1.6. crc generator /checke r .......................................................... 10 5.1.7. fec generator /checke r ........................................................... 10 5.1.8. interleave/de-int erleave buffer ................................................. 10 5.1.9. frame sync detect ................................................................... 10 5.1.10. rx i/p amp ................................................................................ 10 5.1.11. tx/rx low pa ss filter ............................................................... 10 5.1.12. tx output buffer........................................................................ 10 5.1.13. rx level/clock extraction ......................................................... 12 5.1.14. clock oscillato r and divi ders.................................................... 12 5.1.15. scramble/de- scramble ............................................................. 12 5.2. modem - c in teract ion ......................................................................... 13 5.3. data fo rmats ......................................................................................... 14 5.3.1. general purpos e formats ........................................................ 14 5.3.2. mobitex frame structure .......................................................... 14 5.4. the programme r?s view ........................................................................ 16 5.4.1. data buffer ................................................................................ 16 5.4.2. command r egist er ................................................................... 16 5.4.3. control r egister ........................................................................ 27 5.4.4. mode regi ster........................................................................... 30 5.4.5. status r egister ......................................................................... 31 5.4.6. data qualit y register................................................................ 33 5.5. crc, fec, interleaving and scrambling in formation: ........................... 34 5.5.1. crc 34 5.5.2. fec 35 5.5.3. interleav ing ............................................................................... 35 5.5.4. scrambling ................................................................................ 36 6. applicati on notes ............................................................................................. 37 6.1. transmit fram e example....................................................................... 37 6.2. receive fram e example........................................................................ 39 6.3. clock extraction and level measurement systems .............................. 41
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 3 d/909b/2 6.4. ac coup ling ........................................................................................... 42 6.5. radio perf ormance ................................................................................ 44 7. performance sp ecificat ion............................................................................... 45 7.1. electrical pe rform ance........................................................................... 45 7.1.1. absolute maxi mum ra tings ...................................................... 45 7.1.2. operating limits........................................................................ 45 7.1.3. operating char acteristics ......................................................... 46 7.2. packaging .............................................................................................. 50 table page table 1 doc capacitance v. da ta rate............................................................................ 8 table 2 CMX909B regist ers ........................................................................................... 16 table 3 mobite x modem tasks........................................................................................ 19 table 4 transmi t mode ti ming ........................................................................................ 25 table 5 receive mode ti ming ......................................................................................... 26 table 6 xtal/clock fr equency v. data rates................................................................... 28 figure page figure 1 bl ock di agram ..................................................................................................... 5 figure 2 recommended external co mponents ................................................................ 8 figure 3 typical m odem c c onnecti ons.......................................................................... 9 figure 4 typical m odem c c onnecti ons........................................................................ 11 figure 5 transmitted signal eye diagram (after the external rc f ilter) .......................... 12 figure 6 mobitex over air signal format ........................................................................ 15 figure 7 the tr ansmit pr ocess........................................................................................ 20 figure 8 the re ceive process......................................................................................... 21 figure 9 transmit mode timing diagr am ........................................................................ 25 figure 10 receive mode timing diagr am ....................................................................... 26 figure 11 low pass filter delay ...................................................................................... 27 figure 12 typical data quality readi ng v. s/n ............................................................... 34 figure 13 interleaving - inpu t/output ............................................................................... 36 figure 14 trans mit process............................................................................................. 38 figure 15 rece ive process.............................................................................................. 40 figure 16 bit clock and lev el acquisiti on example ........................................................ 42 figure 17 typical bit error rates..................................................................................... 43 figure 18 decay time - ac c oupling .............................................................................. 43 figure 19 typical sy stem inst allation .............................................................................. 44 figure 20 c paralle l interfac e timi ngs .......................................................................... 47 figure 21 typical bit error rate (noise in bit rate bandw idth) ......................................... 49 figure 22 e2 mechanical outline: order as par t no. CMX909Be2 ................................ 50 figure 23 d5 mechanical outline: order as par t no. cm x909bd5................................ 50 figure 24 p4 mechanical outline: order as par t no. CMX909Bp4 ................................ 51
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 4 d/909b/2 it is always recommended that you check for t he latest product datasheet version from the datasheets page of the cml w ebsite: [www.cmlmicro.com]. 1.1. history version changes date 1 ? original document. aug 2000 2 ? history section introduced ? corrections to figure 15 ? updates to parametric specificati on, section 1.7.1: 'tba's removed ? package drawings, logos, etc. updated ? document renumbered nov 2008
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 5 d/909b/2 2. block diagram figure 1 block diagram
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 6 d/909b/2 3. signal list package e2/d5/p4 signal description pin no. name type 1 irqn o/p a ?wire-orable? output for connection to the host c's interrupt request input. this output has a low impedance pull down to v ss when active and is high impedance when inactive. 2 d7 bi ) 3 d6 bi ) 4 d5 bi ) 5 d4 bi ) 8-bit bidirectional 3-state c interface data 6 d3 bi ) lines. 7 d2 bi ) 8 d1 bi ) 9 d0 bi ) 10 rdn i/p read. an active low logic level input used to control the reading of data from the modem into the host c. 11 wrn i/p write. an active low logic level input used to control the writing of data into the modem from the host c. 12 v ss power the negative supply rail (ground). 13 csn i/p chip select. an active low logic level input to the modem, used to enable a data read or write operation. 14 a0 i/p ) two logic level modem register select 15 a1 i/p ) inputs. 16 xtaln o/p the output of the on-chip oscillator. 17 xtal/clock i/p the input to the on-chip oscillator, for external xtal circuit or clock. 18 19 doc 2 doc 1 o/p o/p ) connections to the rx level measurement ) circuitry. a c apacitor should be connected ) from each pin to v ss.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 7 d/909b/2 package e2/d5/p4 signal description pin no. name type 20 txop o/p the tx signal output from the modem. 21 v bias o/p a bias line for the internal circuitry, held at ? v dd . this pin must be decoupled to v ss by a capacitor mounted close to the device pins. 22 rxin i/p the input to the rx input amplifier. 23 rxfb o/p the output of t he rx input amplifier and the input to the rx filter. 24 v dd power the positive supply rail. levels and voltages are dependent upon this supply. this pin should be decoupled to v ss by a capacitor. notes: i/p = input o/p = output bi = bidirectional to achieve good noise performance, v dd and v bias decoupling and protection of the receive path from extraneous in-band signals are very im portant. it is recommended that the printed circuit board is laid out with a ground plane in the CMX909B area to provide a low impedance connection between the v ss pin and the v dd and v bias decoupling capacitors. it is also important to achieve a low impedance connecti on between the xtal capacitors (c3 and c4) and the ground plane.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 8 d/909b/2 4. external components figure 2 recommended external components r1 see section 5.1.10 c1 0.1 f c5 see section 5.1.12 r2 100k ohm c2 0.1 f c6 see note below r3 1m ohm * c3 see section 5.4.3* c7 see note below r4 see section 5.1.12 c4 see section 5.4.3* x1 see section 5.4.3* * refer also to section 5.1.14 tolerances: r4 5% r2, c5 10% all other components 20% c6 and c7 values should satisfy the following: c (in farads) x data rate (bits/second) = 120 x 10 -6 e.g. data rate (kbits/sec) c6/c7 (nf) 4.0 30 4.8 22 8.0 15 9.6 12 16.0 6.8 19.2 6.8 32.0 3.9 38.4 3.3 table 1 doc capacitance v. data rate
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 9 d/909b/2 5. general description this product has been designed to be compliant wi th the appropriate sections of the "mobitex interface specification" including short block frame formatting for the extended battery saving protocol. references to ?data blocks? in this document apply to both the normal (18 byte) data block and the smaller (4 byte) short data block. 5.1. description of blocks 5.1.1. data bus buffers 8 bidirectional 3-state logic level buffers between the modem?s internal registers and the host c's data bus lines. 5.1.2. address and r/w decode this block controls the transfer of data bytes between the c and the modem's internal registers, according to the state of the write and read enable inputs (wrn and rdn), the chip select input (csn) and the register address inputs a0 and a1. the data bus buffers, address and r/w decode blocks provide a byte-wide parallel c interface, which can be memory-mapped, as shown in figure 3. figure 3 typical modem c connections 5.1.3. status and data quality registers 8-bit registers which the c can read to det ermine the status of t he modem and the received data quality. 5.1.4. command, mode and control registers the values written by the c to these 8-bi t registers control the operation of the modem.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 10 d/909b/2 5.1.5. data buffer an 18-byte buffer used to hold receive or transmit data to or from the c. 5.1.6. crc generator/checker a circuit which generates (in transmit mode) or checks (in receive mode) the cyclic redundancy checksum bits, which are included in tr ansmitted mobitex data blocks so that the receive modem can detect transmission errors. 5.1.7. fec generator/checker in transmit mode this circuit calculates and adds the forward error correction (4 bits) to each byte presented to it. in receive mode the fec in formation is used to correct most transmission errors that have occurred in mobitex data bl ocks or in the frame head control bytes. 5.1.8. interleave/de-interleave buffer this circuit interleaves data bits within a data block before transmission and de-interleaves the received data block so that the fec system is best able to handle short noise bursts or signal fades. 5.1.9. frame sync detect this circuit, which is only active in receive m ode, is used to look for the user specified 16-bit frame synchronisation pattern which is transmi tted to mark the start of every frame. 5.1.10. rx i/p amp this amplifier allows the received signal input to the modem to be set to the optimum level by suitable selection of the exter nal components r1 and r2. the value of r1 should be calculated to give 0.2 x v dd pk-pk at the rxfb pin for a received ?...11110000...? sequence. a capacitor may be fitted if ac coupling of the received signal is desired (see section 6.4), otherwise the dc level of the received signal should be adjusted so that the signal at the modem's rxfb pin is centred around v bias (? v dd ). 5.1.11. tx/rx low pass filter this filter, which is used in both transmit and receive modes, is a low pass transitional gaussian filter having a loss of 3db at 0.3 times the selected bit rate (bt = 0.3). see figure 4. in transmit mode, the bits are passed through this filter to eliminate the high frequency components which would otherwise cause in terference into adjacent radio channels. in receive mode this filter is used with an increas ed bt factor (0.56) to reject hf noise, so that the signal is suitable for extraction of the received data. 5.1.12. tx output buffer this is a unity gain amplifier used in transmit mode to buffer the output of the tx low pass filter. in receive mode, the input of this buffer is connected to v bias . when changing from rx to tx mode the input to this buffer will be connected to v bias for 2 bit periods to prevent unwanted signals, from the low pass filter, at the output. when the modem is set to power save mode, the buffer is turned off and the txop pin connected to v bias via a high value resistance. when exiting from power save mode the tx output is only reconnected to the buffer after 2 bit periods, to prevent unwanted signals, from t he low pass filter, at the output. note: the rc low pass filter formed by t he external components r4 and c5 between the tx output buffer and the input to the radio's fr equency modulator forms an important part of the transmit signal filtering. these components ma y form part of any dc level-shifting and gain
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 11 d/909b/2 adjustment circuitry. the ground connection to t he capacitor c5 should be positioned to give maximum attenuation of high frequency noise into the modulator. r4 and c5 should be chosen so that the product of the resistance of r4 (in ohms) and capacitance of c5 (in farads) is 0.34/bit rate (bit rate in bits per second). r4 should be not less than 47k and the value used for the external capacitor should take into account parasitic capacitance. suitable values being: r4 c5 8000 bits/sec 100k 430pf 4800 bits/sec 100k 710pf the signal at the txop pin is centred around v bias and is approx 0.2 x v dd pk-pk, going positive for a logic ?1? and negative for a logic ?0?, if the modem is not inverting the tx data. a capacitor may be fitted if ac coupling of t he input to the frequency modulator is desired, see section 6.4. the ?eye? diagram of the transmitted signal (a fter the external r4/c5 network) is shown in figure 5. figure 4 typical modem c connections
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 12 d/909b/2 figure 5 transmitted signal eye diagram (after the external rc filter) 5.1.13. rx level/clock extraction these circuits, which operate only in receive m ode, extract a bit rate clock from the received signal and measure the received signal amplitude and dc offset. this information is then used to extract the received bits and also to provide an input to the received data quality measuring circuit. the external capacitors c6 and c7 form part of the received signal level measuring circuit. 5.1.14. clock oscillator and dividers this circuit derives the transmi t bit rate (and the nominal receive bit rate) by frequency division of a reference frequency which may be generated by the on-chip xtal oscillator or applied from an external source. note: if the on-chip xtal oscillator is to be used, then the external components x1, c3, c4 and r3 are required. if an external clock source is to be used, then it should be connected to the xtal/clock input pin, the xtaln pin should be left unconnected, and x1, c3, c4 and r3 not fitted. 5.1.15. scramble/de-scramble this block may be used to scramble/de-scrambl e the transmitted/received data blocks. it does this by modulating the data with a 511-bit pseudorandom sequence, as described in section 5.5.4. scrambling smoothes the transmitted spectrum, especially w hen repetitive sequences are to be transmitted.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 13 d/909b/2 5.2. modem - c interaction in general, data is transmitted over air in the form of messages, or ?frames?, consisting of a ?frame head? optionally followed by one or more formatted data blocks. the frame head includes a frame synchronisation pattern designed to allow the receiving modem to identify the start of a frame. the following data blocks are constructed from the ?raw? data using a combination of crc (cyclic redundancy checksum) generation, forward error correction coding, interleaving and scrambling. details of the message formats handled by this modem are given in section 5.3. to reduce the processing load on the host c , this modem has been designed to perform as much as possible of the computationally int ensive work involved in frame formatting and de- formatting and (when in receive mode) in s earching for and synchronising onto the frame head. in normal operation the modem will only requi re servicing by the c once per received or transmitted data block. thus, to transmit a block, the host c has onl y to load the unformatted (raw) binary data into the modem's data buffer then instruct the modem to format and transmit that data. the modem will then calculate and add the crc bits as required, encode the result with forward error correction coding, interleave then scr amble the bits before transmission. in receive mode, the modem can be instructed to assemble a block?s worth of received bits, de- scramble and de-interleave the bits, check and correct them (using the fec coding) and check the resulting crc before placing the received binar y data into the data buffer for the c to read. the modem can also handle the transmission and re ception of unformatted data, to allow the transmission of special bit and frame sync hronisation sequences or test patterns.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 14 d/909b/2 5.3. data formats 5.3.1. general purpose formats in a proprietary system the user may employ the data elements provided by this device to construct a custom, over-air data structure. for example, 16 bits of bit sync + 2 bytes of frame sync + 4 bytes of receiver and sender address + n data blocks would be sent as: tqb (bit and frame sync) + tqb (addresses) + (n x tdb) + tsb and received as: sfs + rsb + rsb + rsb + rsb + (n x rdb) note that it is important to have establis hed frame synchronisation before receiving data to enable the receiving device to decode synchronously . also the user may add, by way of algorithms performed on the controlling device, additional data correction with the bytes in the data block task. 5.3.2. mobitex frame structure the mobitex format for transmitted data is in t he form of a frame head immediately followed by either 1 short data block or a number of data blocks (0 to 32). the frame head consists of 7 bytes: 2 bytes of bit sync: 1100110011001100 from base, 0011001100110011 from mobile bits are transmitted from left to right 2 bytes of frame sync: system specific. 2 bytes of control data. 1 byte of fec code, 4 bits for each of the control bytes: bits 7-4 (leftmost) operat e on the first control byte. bits 3-0 (rightmost) operate on the second control byte. each byte in the frame head is transmitt ed bit 7 (msb) first to bit 0 (lsb) last. the data blocks consist of: 18 bytes of data (data block) or 4 bytes of data (short data block). 2 bytes of crc calculated from the data bytes. 4 bits of fec code for each of the data and crc bytes the resulting data block bits are in terleaved and scrambled before transmission.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 15 d/909b/2 figure 6 shows how the over air signal is built up from frame sync and bit sync patterns, control bytes and data blocks. the binary data transferred between the modem and the host c is that shown enclosed by the thick dashed rectangles near the top of the diagram. figure 6 mobitex over air signal format
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 16 d/909b/2 5.4. the programmer?s view the modem appears to the programmer as 4 writ e only 8-bit registers shadowed by 3 read only registers, individual registers being se lected by the a0 and a1 chip inputs: a1 a0 write to modem read from modem 0 0 data buffer data buffer 0 1 command register status register 1 0 control register data quality register 1 1 mode register not used table 2 CMX909B registers 5.4.1. data buffer this is an 18-byte read/write buffer which is used to transfer data (as opposed to command, status, mode, data quality and control inform ation) between the modem and the host c. it appears to the c as a single 8-bit register; the modem ensuring that sequential c reads or writes to the buffer are routed to the correct locations within the buffer. the c should only access this buffer when the stat us register bfree (bu ffer free) bit is ?1?. the buffer should only be written to while in tx mode and read from while in rx mode (except when loading frame sync detection bytes while in rx mode). 5.4.2. command register writing to this register tells the modem to perform a specific action or actions, depending on the setting of the task, aqlev and aqbc bits. t he env and eop bits are used to indicate the presence of signals in the receive path. when it has no action to perform (but is not ?pow ersaved?), the modem will be in an ?idle? state. if the modem is in transmit mode the input to the tx filter will be connected to v bias . in receive mode the modem will continue to measure the re ceived data quality and extract bits from the received signal, supplying them to the de-inte rleave buffer, but will otherwise ignore the received data.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 17 d/909b/2 command register b7: aqbc - acquire bit clock this bit has no effect in transmit mode. in receive mode, whenever a byte with the aqbc bit set to ?1? is written to the command register, and task is not set to reset, it in itiates an automatic sequence designed to achieve bit timing synchronisation with the received signal as quickly as possible. this involves setting the phase locked loop of the received bit timing extraction circuits to its widest bandwidth, then gradually reducing the bandwidth as timing sync hronisation is achieved, until it reaches the 'normal' value set by the pllbw bits of the control register. setting this bit to ?0? (or changing it from ?1? to ?0?) has no effect, however note that the acquisition sequence will be re-started every time t hat a byte written to the command register has the aqbc bit set to ?1?. the aqbc bit will normally be set up to 12 bits before an sfs (search for frame sync) or sfh (search for frame head) task, however it ma y also be used independently to re-establish clock synchronisation quickly after a long fade. alternativ ely, a sfs or sfh task may be written to the command register with the aqbc bit ?0? if it is known that clock synchronisation does not need to be re-established. more details of the bi t clock acquisition sequence are given in section 6.3. command register b6: aqlev - acquire receiv e signal levels this bit has no effect in transmit mode. in receive mode, whenever a byte with the aqlev bit set to ?1? is written to the command register and task is not set to reset, it initiates an automatic sequence designed to measure the amplitude and dc offset of the rece ived signal as rapidly as possible. this sequence involves setting the measurement circui ts to respond quickly at first, then gradually increasing their response time, hence improving the measurement accuracy, until the ?normal? value set by the levres bits of the control register is reached. setting this bit to ?0? (or changing it from ?1? to ?0?) has no effect, however note that the acquisition sequence will be re-started every time t hat a byte written to the command register has the aqlev bit set to ?1?. the aqlev bit will normally be set up to 12 bits before an sfs (search for frame sync) or sfh (search for frame head) task is initiat ed, however it may also be used independently to re-establish signal levels quickly after a long fade. alternatively, a sfs or sfh task may be written to the command register with the aqlev bit at ?0? if it is known that there is no need to re-establish the received signal levels. more details of the level measurement acquisition sequence are given in section 6.3. the error rate is highest immediately a fter a aqbc and aqlev sequence is triggered and rapidly reduces to its static value soon after. these erroneous bits could incorrectly trigger the frame sync detection circuits and so it is suggested that a sfh or sfs task is set 12 bits after setting either of the aqlev or aqbc sequences.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 18 d/909b/2 command register b5: - eop end of packet detector this bit has no effect in transmit mode. in receive mode, whenever this bit is set to ?1?, a circuit monitors the receive wave form. if the received signal remains close to the centre of the received data levels (as stored on the doc capacitors) for more than approximately 3 bit ti mes then the logic output will be set high and bit ?0? of the status register will be set according to the table below. if the input signal level goes toward either of the doc capacitor values the l ogic output will be immediately set low. note: if this bit is set when a data signal is not bei ng received and the doc capacitors have discharged or if there are high levels of noise, its output will be unreliable. it should be used in conjunction with bit 4 of the command register. command register b4: - env envelope detector this bit has no effect in transmit mode. in receive mode, whenever this bit is set to ?1?, a circuit monitors the doc voltage levels. if the doc voltages are more than 4% of v dd apart (0.2v when v dd = 5.0v) then the logic output will be set high and bit ?0? of the status register will be set according to the table below. note: if this bit is set the env output will also be trigger ed when receiving high levels of noise or other in-band signals. b5 (eop) b4 (env) status register b0 (state set to output of): irq triggered on: (if enabled) 0 0 0 - 0 1 env detector 0 ? 1 1 0 eop detector 0 ? 1 1 1 (env) and ( eop ) 0 ? 1 or 1 ? 0 if both b4 and b5 are set the status register will be set whenever: (envelope detector output = high) and (end of packet output = low). the st atus register b0 will then be high during the most likely time that a packet is being received. in this mode the irq bit will be set on both edges, thus indicating the likely time of the start and end of packets. if either b5 or b4 are set high then b0 and b1 of the data quality register will directly follow the outputs of the env and eop circuits respectively . if b5 and b4 are set low the data quality register bits b0 and b1 will still indicate the out put of the env and the eop circuits but the irq bit will not be set in this case. the following acti ons will restore the data quality bits b0 and b1 to indicating the data quality value: issuing a reset command, setting txrxn bit = ?1? or by entering power save mode. note: because the least significant bits of the data quality register are used there will be no noticeable loss of accuracy in the dq reading and in this case the host processor can either ignore or mask out the 2 least significant bits when reading the dq value. note: the setting of the aqlev and levres bits is important to the correct operation of these circuits. see section 6.3 for more details.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 19 d/909b/2 command register b3, b2, b1, b0: task - task operations such as transmitting a data block are treated by the modem as ?tasks? and are initiated when the c writes a byte to the co mmand register with the task bits set to one of the data handling commands (marked bold in table 3). b3 b2 b1 b0 receive mode transmit mode 0 0 0 0 null null 0 0 0 1 sfh search for frame head t7h transmit 7 byte frame head 0 0 1 0 r3h read 3 byte frame head reserved 0 0 1 1 rdb read data block tdb transmit data block 0 1 0 0 sfs search for frame sync tqb transmit 4 bytes 0 1 0 1 rsb read single byte tsb transmit single byte 0 1 1 0 lfsb load frame sync bytes tso transmit scrambler output 0 1 1 1 reset cancel any current action reset cancel any current action 1 0 0 1 sfhz sfh with zero errors reserved 1 0 1 1 rsd read short data block tsd transmit short data block 1 1 0 0 sfsz sfs with zero errors reserved 1 1 1 0 psbias turn off bias during power save 1 1 1 1 psbixt turn off bias and xtal during power save table 3 mobitex modem tasks note: all other bit patterns are reserved. bold text indicates a ?data handling command? the c should not write a data handling command to the command register or write to or read from the data buffer when the bfree (buffer fr ee) bit of the status register is ?0?. different tasks apply in receive and transmit modes. when the modem is in transmit mode, all data handling commands other than tso instruct the modem to transmit data from the data buffer, fo rmatting it as required. for these tasks the c should wait until the bfree (buffer free) bit of the status register is ?1?, before writing the data to the data buffer, then it should write the des ired task to the command register. if more than 1 byte needs to be written to the data buffer, by te number 0 of the block should be written first. once the byte containing the desired task has been written to the command register, the modem will: set the bfree (buffer free) bit of the status register to ?0?. take the data from the data buffer as quickly as it can - transferring it to the interleave buffer for eventual transmission. this operati on will start immediately if the modem is ?idle? (i.e. not transmitting data from a prev ious task), otherwise it will be delayed until there is sufficient room in the interleave buffer. once all of the data has been transferred from the data buffer the modem will set the bfree and irq bits of the status register to ?1?, (causing the chip irqn output to go low if the irqnen bit of the mode register has been se t to ?1?) to tell the c that it may write new data and the next task to the modem.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 20 d/909b/2 in this way the c can write a task and the a ssociated data to the modem while the modem is still transmitting the data from the previous task. see figure 7. when the modem is in receive mode, the c s hould wait until the bfree bit of the status register is ?1?, then write the des ired task to the command register. once the byte containing the desired task has been written to the command register, the modem will: set the bfree bit of the status register to ?0?. wait until enough received bits are in the de-interleave buffer. decode them as needed, and transfer any resulting data to the data buffer. then the modem will set the bfree and irq bits of the status register to ?1?, (causing the irqn output to go low if the irqnen bit of the mode register has been set to ?1?) to tell the c that it may read from the data buffer and write the next task to the modem. if more than 1 byte is contained in the data buffer, byte number ?0? of the data will be read firs t. in this way the c can read data and write a new task to the modem while the received bits needed for this new task are being stored in the de-interleave buffer. see figure 8. the above is not true for loading the frame sync detection bytes (lfsb): the bytes to be compared with the incoming data must be loaded prior to the task bits being written. det ailed timings for the various tasks are given in figure 9 and figure 10. figure 7 the transmit process
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 21 d/909b/2 figure 8 the receive process null - no effect this task is provided so that a aqbc or aqlev command can be initiated without loading a new task. sfh - search for frame head causes the modem to search the received si gnal for a frame head. the frame head will consist of a 16-bit frame sync followed by control data (see figure 6). the search will continue until a frame head has been found, or until the reset task is loaded. the search is carried out by first attempting to match the incoming bits against the previously programmed (task lfsb) 16-bit frame sync pattern (allowing up to any one bit (of 16) in error). when a match has been found, the modem will r ead the next 3 received bytes as frame head bytes, these bytes will be checked, and corrected if necessary, using the fec bits. the two frame head data bytes are then placed into the data buffer. the bfree and irq bits of the status register will then be set to a logic ?1? to indicate that the c may read the 2 frame head data bytes from the data buffer and write the next task to the command register. if the fec indicates uncorrectable errors the modem will set the crcfec bit in the status register to a logic ?1?. the moban bit (mobile or base) in the status register will be set according to the polarity of t he 3 bits preceding the frame sync pattern. r3h - read 3-by te frame head this task, which would normally follow an sfs task, will place the next 3 bytes directly into the data buffer. it also causes the modem to che ck the 3 bytes as frame head control data bytes and will set the crcfec bit to a logic ?1? (high) only if the fec bits indicate uncorrectable errors. note: this task will not correct any erro rs and, due to the mobitex fec specification, will not detect all possible uncorrectable error patte rns the bfree and irq bits of the status register will be set to ?1? when the task is comple te to indicate that the c may read the data from the data buffer and write the next task to the modem's command register. the crcfec bit in the status register will be se t according to the validity of the received fec bits.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 22 d/909b/2 rdb - read data block this task causes the modem to read the next 240 bits as a mobitex data block. it will de-scramble and de-interleave the bits, fe c correct and crc check the resulting 18 data bytes and place them into the data buffer, setting the bfree and irq bits of the status register to ?1? when the task is complete to i ndicate that the c may read the data from the data buffer and write the next task to the modem?s command register. the crcfec bit will be set according to the outcome of the crc check. note: in receive mode the crc checksum circuits are initialised on completion of any task other than null. sfs - search for frame sync this task, which is intended for special test and channel monitoring purposes, performs the first part only of a sfh task. it causes the modem to search the received signal for a 16-bit sequence which matches the frame synchronisation pattern with up to any 1 bit in error. when a match is found the modem will set the bfree and irq bits of the status register to ?1? and update the moban bit. the c may then writ e the next task to the command register. rsb - read single byte this task causes the modem to read the next 8 bits and translate them directly (without de- interleaving or fec) to an 8-bit byte which is placed into the data buffer (b7 will represent the earliest bit received). the bfree and irq bits of the status register will then be set to ?1? to indicate that the c may read the data byte fr om the data buffer and write the next task to the command register. this task is intended for special tests and channel monitoring - perhaps preceded by an sfs task. lfsb - load frame sync bytes this task takes 2 bytes from the data buffer and updates the frame sync detect bytes. the msb of byte ?0? is compared to the first bit of a received frame sync pattern and the lsb of byte ?1? is compared to the last bit of a rece ived frame sync pattern. this task does not enable frame sync detection. unlike other rx tasks, the data buffer must be loaded before the task is issued and the task must only be issued ?between? received messages, i.e. before the first task for receiving a message and after the last data is read out of the data buffer. once the modem has read the frame sync byte s from the data buffer, the bfree and irq bits of the status register will be set to ?1?, indicating to the c that it may write the next task to the modem. sfhz - search for frame head with zero errors this performs the same task as sfh task but allowing no bits to be in error over the 16-bit frame sync pattern.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 23 d/909b/2 rsd - read short data block this task causes the modem to read the next 72 bits as a mobitex short data block. it will de-scramble and de-interleave the bits, fe c correct and crc check the resulting 4 data bytes and place them into the data buffer, setting the bfree and irq bits of the status register to ?1? when the task is complete to i ndicate that the c may read the data from the data buffer and write the next task to the modem?s command register. the crcfec bit will be set according to the outcome of the crc check. note: in receive mode the crc checksum circuits are initialised on completion of any task other than null. sfsz - search for frame sync with zero errors this performs the same task as sfs task but allowing no bits to be in error over the 16-bit frame sync pattern. t7h - transmit 7-byte frame head this task takes 6 bytes of data from the data buffer, calculates and appends 8 bits of fec from bytes ?4? and ?5? then transmits the result as a complete mobitex frame head. bytes ?0? and ?1? form the bit sync pattern, bytes ?2? and ?3? form the frame sync pattern and bytes ?4? and ?5? are the frame head control bytes. bit 7 of byte ?0? of the data buffer is sent first, bit 0 of the fec byte last. once the modem has read the data bytes from t he data buffer, the bfree and irq bits of the status register will be set to ?1?, indicating to the c that it may writ e the next task and its data to the modem. tqb - transmit 4 bytes this task takes 4 bytes of data from the data buffer and transmits them, bit 7 first. once the modem has read the data bytes from t he data buffer, the bfree and irq bits of the status register will be set to ?1?, indicating to the c that it may writ e the next task and its data to the modem. tdb - transmit data block this task takes 18 bytes of data from the data buffer, calculates and applies a 16-bit crc and forms the fec for the 18 data bytes and the crc. this data is then interleaved and passed through the scrambler, if enabled, before being transmitted as a mobitex data block. once the modem has read the data bytes from t he data buffer, the bfree and irq bits of the status register will be set to ?1?, indicating to the c that it may writ e the next task and its data to the modem. note: in transmit mode the crc checksum circuit is initialised on completion of any task other than null. tsb - transmit single byte this task takes a byte from the data bu ffer and transmits the 8 bits, bit 7 first. once the modem has read the data byte from t he data buffer, the bfree and irq bits of the status register will be set to ?1?, indicating to the c that it may writ e the next task and its data to the modem.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 24 d/909b/2 tso - transmit scrambler output this task, intended for channel set-up, enables the scrambler and transmits its output. when the modem has started the task the status register bits will not be changed and hence an irq will not be raised. the c may write the next task and its data to the modem at any time and the scrambler output will stop when the new task has produced its first data. tsd - transmit short data block this task takes 4 bytes of data from the data buffer, calculates and applies a 16-bit crc and forms the fec for the 4 data bytes and the crc. this data is then interleaved and passed through the scrambler, if enabled, before being transmitted as a mobitex data block. once the modem has read the data bytes from t he data buffer, the bfree and irq bits of the status register will be set to ?1?, indicating to the c that it may writ e the next task and its data to the modem. note: in transmit mode the crc checksum circuit is initialised on completion of any task other than null. reset - stop any current action this task takes effect immediately, and terminat es any current action (task, aqbc or aqlev) the modem may be performing and sets the bfree bi t of the status register to ?1?, without setting the irq bit. it should be used when v dd is applied to set the modem into a known state. note that due to delays in the internal switched capacitor filter, it will take approximately 3 bit times for any change to become apparent at the txop pin. psbias - powersave bias circuit if the task bits are in this setting when b3 of the mode register is set to ?1? the device will power down the bias chain in addition to power ing down those circuits described in section 5.4.4. the voltage on v bias will decay to 0v as will the level on the txop, doc1 and doc2 pins. psbixt - powersave bias and xtal circuit if the task bits are in this setting when b3 of the mode register is set to ?1? the device will power down the bias chain and stop the xtal oscillator in addition to powering down those circuits described in section 5.4.4. the voltage on v bias will decay to 0v as will the level on the txop, doc1 and doc2 pins. the voltage on the xtaln pin will go to a logic ?1? regardless of the level at the xtal pin. task timings the device should not write to the command register whenever psbixt and psave bits are set and for at least 2 bit times after the following: changing from powersave state to normal operation. changing the tx/rx bit. resetting or after power is applied to the device. this is to ensure that the internal operation of t he device is initialised correctly for the new task. note that this only applies to the command regi ster, the other registers may be accessed as normal.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 25 d/909b/2 figure 9 transmit mode timing diagram task typical time (bit-times) t1 time from writing first task (modem in ?idle? state) to application of first transmit bit to tx low pass filter any 1 t2 time from application of first bit of t7h 36 task to tx low pass filter until bfree tqb 24 goes to a logic ?1? (high) tdb 20 tsb 1 tsd 6 t3 time to transmit all bits of task t7h 56 tqb 32 tdb 240 tsb 8 tsd 72 t4 max time allowed from bfree going to a t7h 18 logic ?1? (high) for next task (and data) to tqb 6 be written to modem tdb 218 tsb 6 tsd 64 table 4 transmit mode timing
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 26 d/909b/2 figure 10 receive mode timing diagram task typical time (bit-times) t3 time to receive all bits of task sfh 56 r3h 24 rdb 240 rsb 8 rsd 72 t6 maximum time between first bit of task sfh 14 entering de-interleave circuit and task r3h 18 being written to modem rdb 218 rsb 6 rsd 64 t7 time from last bit of task entering de-interleave circuit to bfree going to a logic ?1? (high) any 1 table 5 receive mode timing
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 27 d/909b/2 tx/rx low pass filter delay the previous task timing figures are based on the signal at the input to the tx low pass filter (in transmit mode) or the input to the de-interleav e buffer (in receive mode). there is an additional delay of about 2 bit times in both transmit and receive modes due to the tx/rx low pass filter, as illustrated in figure 11. figure 11 low pass filter delay 5.4.3. control register this 8-bit write only register controls the m odem?s bit rate, the response times of the receive clock extraction and signal level measurement circuits and the internal analogue filters.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 28 d/909b/2 control register b7, b6: ckdiv - clock division ratio and b5: hilon - xtal range selection these bits control a frequency divi der driven from the clock signal present at the xtaln pin, and hence determine the nominal bit rate. the table below shows how bit rates of 4000 to 38400 bits/sec may be obtained from common xtal frequencies: b5 xtal/clock frequency (mhz) 1 8.192 9.8304 4.096 (12.288/3) 4.9152 2.048 (6.144/3) 2.4576 (12.288/5) 0 4.096 (12.288/3) 4.9152 2.048 (6.144/3) 2.4576 (12.288/5) 1.024 1.2288 division ratio: b7 b6 xtal frequency data rate data rate (bits per second) 0 0 256 128 32000 38400 16000 19200 8000 9600 0 1 512 256 16000 19200 8000 9600 4000 4800 1 0 1024 512 8000 9600 4000 4800 1 1 2048 1024 4000 4800 table 6 xtal/clock frequency v. data rates note: device operation is not guaranteed below 4000 or above 38400 bits/sec. the values used for c3 and c4 should be suitabl e for the frequency of the crystal x1. as a guide; c3 = c4 = 33pf for x1 < 5mhz, and c3 = c4 = 18pf for x1 > 5mhz. control register b4: dara - data rate and mode register b0 - hibw these bits operate in both transmit and receive modes, optimising the modem's internal signal filtering according to the relevant bit rate. control register: b4 (dara) mode register: b0 (hibw) data rate (bits/sec) 0 0 <10k 0 1 reserved 1 0 10k ? 20k 1 1 >20k
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 29 d/909b/2 control register b3, b2: levres - level measurement response time these two bits have no effect in transmit mode. in receive mode, they set the ?normal? response time of the rx signal amplitude and dc offset measuring circuits. this setting will be tempor arily overridden by the automatic sequencing of an aqlev command. b3 b2 setting action 0 0 hold keep current values of amplitude and offset 0 1 peak averaging track input signal using bit peak averaging 1 0 peak detect track input signal using peak detect 1 1 lossy peak detect track input signal using lossy peak detection for mobitex systems, and most general purpose applications using the modem, these bits should normally be set to ?peak averaging? except when the c detects a receive signal fade, when ?hold? should be selected. the ?lossy peak detect? setting is intended fo r systems where the c cannot detect signal fades or the start of a received message, as it allows the modem to respond quickly to fresh messages and recover rapidly after a fade without c intervention - although at the cost of reduced bit error rate versus signal to noise performance. note that, since the measured levels are stored on the external capacitors c6 and c7, they will decay gradually towards v bias when the ?hold? setting is chos en, the discharge time-constant being approximately 2000 bit times. more details of the level measurement system are given in section 6.3. control register b1, b0: pllbw these two bits have no effect in transmit mode. in receive mode, they set the ?normal? bandwidth of the rx clock extraction phase locked loop circuit. this setting will be temporarily ove rridden by the automatic sequencing of an aqbc command. b1 b0 pll bandwidth suggested use 0 0 hold signal fades 0 1 narrow 20ppm or better xtals 1 0 medium wide tolerance xtals or long preamble acquisition 1 1 wide quick acquisition the ?hold? setting is intended for use during signal fades, otherwise the minimum bandwidth consistent with the transmit and receive m odem bit rate tolerances should be chosen. the wide and medium bandwidth settings are int ended for systems where the c cannot detect signal fades or the start of a received message, as they allow the modem to respond rapidly to fresh messages and recover rapidly after a fade wi thout c intervention - although at the cost of reduced bit error rate versus signal to noise performance. note: more details of the clock extr action system are given in section 6.3.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 30 d/909b/2 5.4.4. mode register the contents of this 8-bit write only register control the basic operating modes of the modem: mode register b7: irqnen - irqn output enable when this bit is set to ?1?, the ir qn chip output pin is pulled low (to v ss ) whenever the irq bit of the status register is a ?1?. mode register b6: invbit - invert bits this bit controls inversion of transmitted and re ceived bit voltages. when set to ?1? all data is inverted in the tx and rx data paths so a transmitted '1' is a voltage below v bias at the txop pin and a received '0' is a voltage above v bias at the rxin pin. data will be inverted immediately after this bit is set to ?1?. mode register b5: txrxn - tx/rx mode setting this bit to ?1? puts the modem into transmit mode, clearing it to ?0? puts the modem into receive mode. when changing from rx to tx there must be a 2-bit pause before setting a new task to allow the filter to stabilise. (see also psave bit). note that changing between receive and trans mit modes will cancel any current task mode register b4: scren - scramble enable the scrambler only takes effect during the transmi ssion or reception of a mobitex data block, short data block and during a tso task. setting this bit to ?1? enables scrambling, clearing it to ?0? disables scrambling. the scrambler is only operative, if enabled by th is control bit, during tso, rdb, rsd, tsd or tdb, it is held in a reset state at all other times. this bit should not be changed while the modem is decoding or transmitting a mobitex data block. mode register b3: psave - powersave when this bit is a ?1?, the modem will be in a ?pow ersave? mode in which the internal filters, the rx bit and clock extraction circuits and the tx o/p buffer will be disabled, and the txop pin will be connected to v bias through a high value resistance. if the psbias or psbixt bit patterns are set in the command register, the v bias and xtal/clock circuits will be powersaved in accordance with the description in section 5.4.2. setting the psave bit to ?0? restores power to all of the chip circuitry. note that the internal filters will take about 2 bit times to settle after the psave bit is taken from ?1? to ?0?.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 31 d/909b/2 mode register b2: dqen - data quality irq enable in receive mode, setting this bit to ?1? causes the irq bit of the status register to be set to ?1? whenever a new data quality reading is ready. (the dqrdy bit of the status register will also be set to ?1? at the same time.) in transmit mode this bit has no effect. mode register b1: hixtl - high xtal drive this bit controls the gain of the on chip xtal driver. for 3v operation and crystals >5mhz it should be set to ?1?. at 5v, or whenever usi ng crystals <5mhz, it should be set to ?0?. mode register b0: hibw - high filter bandwidth this bit controls the internal filtering of the dev ice. see control register b4 for the setting of this bit. 5.4.5. status register this register may be read by the c to determine the current state of the modem. status register b7: irq - interrupt request this bit is set to ?1? by: the status register bfree bit going from ?0? to ?1?, unless this is caused by a reset task or by a change to the mode register psave or txrxn bits. or the status register ibempty bit going from ?0? to ?1?, unless this is caused by a reset task or by changing the mode register psave or txrxn bits. or the status register dqrdy bit going from ?0? to ?1? (if dqen = ?1' ). or the status register dibovf bit going from ?0? to ?1?. or the status register eop/env bit going from ?0? to ?1? if env or eop bits (not both) are set in the command register. or the status register eop/env bit going from ?0? to ?1? or ?1? to ?0? if both env and eop bits are set in the command register. the irq bit is cleared to ?0? immediatel y after a read of the status register. if the irqen bit of the mode register is ?1?, then the chip irqn output will be pulled low (to vss) whenever the irq bit is ?1?.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 32 d/909b/2 status register b6: bfree - data buffer free this bit reflects the availability of the data buffer and is cleared to ?0? whenever a task other than null, reset or tso is written to the command register. in transmit mode, the bfree bit will be set to ?1? (a lso setting the status register irq bit to ?1?) by the modem when the modem is ready for the c to write new data to the data buffer and the next task to the command register. in receive mode, the bfree bit is set to ?1? (als o setting the status register irq bit to ?1?) by the modem when it has completed a task and any data associated with that task has been placed into the data buffer. the c may t hen read that data and write the next task to the command register. the bfree bit is also set to ?1?, but without setting the irq bit, by a reset task or when the mode register psave or txrxn bits are changed. status register b5: ibempty - interleave buffer empty in transmit mode, this bit will be set to ?1?, also setting the irq bit, when less than two bits remain in the interleave buffer. any transmit task written to the modem after this bit goes to ?1? will be too late to avoid a gap in the transmit output signal. the bit is also set to ?1? by a reset task or by a change of the mode register txrxn or psave bits, but in these cases the irq bit will not be set. the bit is cleared to ?0? by writing a task other than null, reset or tso to the command register. note: when the modem is in transmit mode and t he interleave buffer is empty, a mid-level voltage (v bias ) will be applied to the tx low pass filter. in receive mode this bit will be ?0?. status register b4: dibovf - de-interleave buffer overflow in receive mode this bit will be set to ?1? (also setting the irq bit) when a task is written to the command register too late to allow continuous reception. the bit is cleared to ?0? by reading the status register or by writing a reset task to the command register or by changing the psave or txrxn bits of the mode register. in transmit mode this bit will be ?0?. status register b3: crcfec - crc or fec error in receive mode this bit will be updated at the end of a mobitex data block task, after checking the crc, and at the end of receiving frame head c ontrol bytes, after checking the fec. a ?0? indicates that the crc was received correctly or the fec did not find uncorrectable errors, a ?1? indicates that errors are present. the bit is cleared to ?0? by a reset task or by changing the psave or txrxn bits of the mode register. in transmit mode this bit will be ?0?.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 33 d/909b/2 status register b2: dqrdy - data quality reading ready in receive mode, this bit is set to ?1? whenev er a data quality reading has been completed. see section 5.4.6. the bit is cleared to '0' by a read of the data quality register. immediately after a reset task, or a change in the psave or txrxn bits to ?0?, the dqrdy bit may be set and generate an interrupt. the value in the data quality register will not be valid in this case. status register b1: moban - mobile or base bit sy nc received in receive mode this bit is updated at the end of the sfs and sfh tasks. this bit is set to ?1? whenever the 3 bits immediately preceding a det ected frame sync are ?011? (received left to right), with up to any one bit in error. the bit is set to ?0? if the bit pattern is ?100?, again with up to any one bit in error. thus, if this bit is set to ?1? then the received message is likely to have originated from a mobile and if it is set to ?0? from a base station. see section 5.3. in transmit mode this bit is a logic ?0?. status register b0: eop/env - end of packet/env elope detect this bit indicates the status of the end of pa cket and envelope detector circuits as indicated in the description of command register bits b5 and b4. in transmit mode this bit will be ?0?. 5.4.6. data quality register this is intended to indicate the quality of the receive signal during a mobitex data block or 30 single bytes. in receive mode, the modem meas ures the ?quality? of the received signal by comparing the actual received zero crossing ti me against an internally generated time. this value is averaged over 240 bits and at the end of the measurement the data quality register and the dqrdy bit in the status register is updated. note: an interrupt will only occur at this time if the dqen bit = ?1?. to provide synchronisation with data blocks, and hence ensure the data quality register is updated in preparation to be read when the rdb ta sk finishes, the measurement process is reset at the end of tasks sfh, sfs, rdb and r3h. the least significant 2 bits (b0 and b1) will be set to the output of the envelope and end of packet detector circuits respectively if either of the env or eop bits have been set in the command register. after a reset or if t he transmit or power save modes have been set these bits will indicate the least significant bits of the quality reading. the state of the env and eop bits have no other effect on the oper ation of the data quality register. in transmit mode all bits of the da ta quality register will be ?0?. figure 12 shows how the value (0-240) read from t he data quality register varies with received signal to noise ratio.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 34 d/909b/2 figure 12 typical data quality reading v. s/n (reading taken after 240 bits, noise in bit rate bandwidth) 5.5. crc, fec, interleaving and scrambling information: 5.5.1. crc this is a 16-bit crc code used in both the m obitex data block and short data block. in transmit it is calculated by the modem from the data block bytes using the following generator polynomial: g(x) = x 16 + x 12 + x 5 + 1 i.e. crc - ccitt x.25. this code detects all (single) error bursts of up to 16 bits in length and about 99.998% of all other error patterns. the crc register is initialised to all ?1s? and t he crc is calculated octet by octet starting with the least significant bit of ?byte 0?. the crc calculated is bit-wise inverted and appended to the data bytes with the most significant bit transmitted earliest. in receive mode, a 16-bit crc code is generated from the data bytes of each mobitex data block or short data block as above and the bi t-wise inverted value is compared with the received crc bytes. if a mis-match is present, then an error has been detected.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 35 d/909b/2 5.5.2. fec in transmit mode, during t7h, tsd and tdb, the modem generates a 4-bit forward error correction code for each coded byte. the fe c is defined by the following h matrix: 7_______0 3___0 11101100 1000 h = 11010011 0100 10111010 0010 01110101 0001 generation of the fec consists of logically anding the byte to be transmitted with bits 7 to 0 of each row of the h matrix. even parity is generat ed for each of the 4 results and these 4 parity bits, in the positions indicated by the last 4 columns of the h matrix, form the fec code. in checking the fec, the received 12-bit word is logically anded with each row of the h matrix (earliest bit received compared with the first co lumn). again even parity is generated for the 4 resulting words and these parity bits form a 4-bit nibble. if this nibble is all zero then no errors have been detected. other results ? point? to the bit in error or indicate that uncorrectable errors have occurred. this code can correct any single error that has occurred in each 12-bit (8 data + 4 fec) section of the message. example: if the byte to be coded is ?00101100? then the fec is derived as follows: h matrix row: 1 2 3 4 a 11101100 11010011 10111010 01110101 b 00101100 00101100 00101100 00101100 a and b 00101100 00000000 00101000 00100100 even parity: 1 0 0 0 where a is bits 7 - 0 of one row of the h matrix and b is the byte to be coded. the even parity bits apply to the result of ?a and b?. so the word formed will be: ?00101100 1000? sent left to right when the same process is carried out on these 12 bits as above, using all 12 bits of each h matrix row, the resulting 4 parity bits will be ?0000?. 5.5.3. interleaving all the bits of transmitted mobitex data bl ocks and short data blocks are interleaved by the modem to give protection against noise bursts and short fades. interleaving is not performed on any bits in the mobitex frame head. in the mobitex data block case, consider ing the 240 bits to be numbered sequentially before interleaving as 0 to 239 (?0? = bit 7 of byte 0, ?11? = bit 0 of fec for byte 0, ... , ?239? = bit 0 of fec for byte 19 - see figure 6), then they will be transmitted as shown in figure 13. the mobitex short data block is interleaved in a similar way; referring to figure 13 consider bytes 4 and 5 as the crc data and ignore bits 72 to 239 in the lower part of the diagram. i.e. the last bit to be transmitted will be ?71?. the modem performs the inverse operation (de-in terleaving) in receive mode on both mobitex data blocks and short data blocks.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 36 d/909b/2 figure 13 interleaving - input/output 5.5.4. scrambling all formatted bits of both mobitex data blocks and short data blocks are passed through a 9-bit scrambler. this scrambler is initialised at the beginning of the first data block in every frame. the 511-bit sequence is generated with a 9-bit shift register with the output of the 5th and 9th stages xor?ed and fed back to the input of the firs t stage. the scrambler is disabled during all other tasks, apart for tso.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 37 d/909b/2 6. application notes 6.1. transmit frame example if the device is required to send a mobitex frame the following control signals and data should be issued to the modem, assuming the device is not starting from a powersave state, txrxn is set to ?1? and that the relevant control bits have been set as required after power was applied to the device: 1. 6 bytes forming the frame head are loaded into the data buffer, followed by a 2-bit pause to let the filter stabilise, followed by setting t7h task. 2. device interrupts host c with irqn when the 6th byte is read from the data buffer. 3. status register is read and 18 bytes are loaded, followed by setting tdb task. 4. device interrupts host c with irqn w hen 18th byte is read from the data buffer. 5. status register is read, host ma y load data and set next task as required: goto ?1? if the last data block for this frame has been transmitted and another frame is to be immediately transmitted goto ?3? if another data block in this frame is to be transmitted goto ?6? if no more data is to be immediately sent 6. 1 byte representing the ?hang byte? is loaded into the data buffer, followed by setting the tsb task. if the ?hang byte? has been transmitted and no more data is to be sent then a new task need not be written and the c can wait for the ibempty inte rrupt when, after a few bits to allow for the tx filter delay, it can shut down the tx rf circuits. a top level flowchart of the transmit process is shown in figure 14. hang by te the filtering required to reduce the transmitted bandwidth causes energy from each bit of information to be smeared across 3 bit times. to ensure that the last bit transmitted is received correctly it is necessary to add an 8-bit ?hang byte? to the end of each message. thus the tasks required to transmit an isolated mobitex frame are: t7h + (n x tdb) + tsb when receiving this data, the extra byte can be i gnored as its only function is to ensure integrity of the last bit and not to carry any information itself. it is suggested that a ?00110011? or ?11001100? pa ttern is used for this ?hang byte?.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 38 d/909b/2 figure 14 transmit process
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 39 d/909b/2 6.2. receive frame example if the device is required to decode a mobitex frame the following control signals should be issued to the modem, assuming the device is in itially not in powersave, pllbw, levres, scren are set as required, txrxn bit is set to ?0?, the frame sync bytes have not been set and the carrier has been detected, or a frame head is imminently expected: 1. 2 frame sync bytes are loaded. 2. 2 bits after the carrier has been detected, a lfsb task is loaded, along with setting the aqlev and aqbc bits, to initiate the leve l acquisition and bit clock extraction sequences. 3. device interrupts host c with irqn when 2nd byte is read from data buffer. 4. status register is read, 12 bits later task is set to sfh to search for a mobitex frame head. 5. device will interrupt host c with ir qn when valid frame sync is detected and header bytes decoded. 6. host c reads status register, che cks moban and crcfec bit and reads out 2 frame head control bytes. 7. host c sets the task to rdb to receive a mobitex data block. 8. device will interrupt host c with irqn when the data block has been received and the crc has been calculated. 9. host c reads status register, checks crc validity and reads 18 data block bytes. the data quality register can also be r ead to obtain the received s/n level. 10. host c sets task if more information is expected: goto ?4? if last data block and anot her frame head imminently expected. goto ?7? if another mobitex data block expected. if the last data block has been decoded and no more information is expected then the task bits need not be set as the device will automat ically select the idle state. a top level flowchart of the receive process is shown in figure 15.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 40 d/909b/2 figure 15 receive process
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 41 d/909b/2 6.3. clock extraction and level measurement systems the modem needs to make accurate measurements of the received signal amplitude, dc offset and bit timing to achieve reasonable error rates. accurate measurements, especially in the presence of noise, are best made by av eraging over a relatively long time. however, in most cases the modem will be used to receive isolated messages from a distant transmitter that is only turned on for a very short time before the message starts. also, the received baseband signal out of the radio's frequency discriminator will have a dc offset due to small differences between the receiver and tr ansmitter reference oscillators and hence their ?carrier? frequencies. to cater for this situation, aqbc and aqlev (acquire bit clock and level) commands are provided which, when triggered, causes the modem to follow an automatic sequence designed to perform these measurements as quickly as possible. the aqlev sequence always starts with a meas urement of the average signal voltage over a period of 1 bit time. the sequence continues by measuring the positive going and negative going peaks of the signal. the attack and decay ti mes used in this ?lossy peak detect? mode are such that a sufficiently accurate measur ement can be made within 16 bits of a ?1100 ...? pattern (i.e. the bit sync sequence) to allow the bit clock extraction circuits to operate. if sfh or sfs is set within 28 bit times of aq lev the device will switch to the residual setting when frame sync is found. if a sfh or sfs task is not set then the residual setting will be active 30 bits after aqlev was set. the resi dual setting is that programmed in the levres bits and is either ?lossy peak detect?, ?peak de tect?, ?peak averaging? or ?hold?. note: for normal operation the levres bits would only be set to 'hold' for the duration of a fade. if sfh or sfs is set within 14 bit times of aq bc the device will switch to the medium setting when frame sync is found. if a sfh or sfs task is not set then the medium setting will be active 16 bits after aqbc was set. the pllbw will change to the residual setting 30 bits later. the complete aqbc and aqlev sequence is illustrated below, for the situation where the c can detect the received carrier so that it knows when to issue the aqbc and aqlev commands. note that due to the delay through the rx low pass filter, the aqbc and aqlev sequences should not be started until about 2 bit times after the received carrier has been detected at the discriminator output. see figure 16. in a system where the host c is not able to detect the received carrier, the aqbc and aqlev sequences may be started at any time - possibly when no carrier is being received. however, in this case the clock and level acquisition will take longer since the circuits will have to recover from the change from a large amplitude noise signal at the output of the frequency discriminator to the wanted signal, probably with a dc offset. in this type of system, the time between the turn- on of the transmitter and the start of the frame sync pattern should be extended - preferably by extending the bit sync sequence to 32 or even 48 bits. note that the clock extraction circuits work by detecting the timing of edges, i.e. a change from ?0? to ?1? or ?1? to ?0?. they will eventually fail if ?1? or ?0? is transmitted c ontinuously. similarly, the level measuring circuits require ?00?and ?11? bit pairs to be received at reasonably frequent intervals.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 42 d/909b/2 aqlev sequence sfh or sfs is set up to 28 bits after aqlev; frame sync is being searched for: 1 bit of clamp. lossy peak detect until frame sync is detected. residual setting. sfh or sfs is not set; frame sync is not being searched for: 1 bit of clamp. 30 bits of lossy peak detect. residual setting. aqbc sequence sfh or sfs is set up to 14 bits after aqbc; frame sync is being searched for: ?wide? setting until frame sync detected. 30 bits of ?medium? setting. residual setting. sfh or sfs is not set; frame sync is not being searched for: 16 bits of ?wide? setting. 30 bits of ?medium? setting. residual setting. figure 16 bit clock and level acquisition example 6.4. ac coupling for a practical circuit, ac coupling from the modem?s transmit output to the frequency modulator and between the receiver?s frequency di scriminator and the receive input of the modem may be desired. there are, however, two problems. firstly, ac coupling of the signal degrades the bit error rate performance of the modem. see figure 17.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 43 d/909b/2 figure 17 typical bit error rates (at 8kbits/sec, without fec, for different degrees of ac coupling) secondly, any ac coupling at the receive input will transform any step in the voltage at the discriminator output to a slowly decaying pulse which can confuse the modem?s level measuring circuits. as illustrated below, the time for this step to decay to 37% of its original value is ?rc? where: rc = 1/( 2 x x the 3db cut-off frequency of the rc network ) and is 8 msec - or 64 bit times at 8kbits/sec for a 20hz network. see figure 18. figure 18 decay time - ac coupling for these reasons the maximum 3db cut-off frequencies would seem to be around 5hz in the tx path and 20hz in the rx path at 8kbits/sec.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 44 d/909b/2 6.5. radio performance the maximum data rate that can be transmitt ed over a radio channel using this modem depends on: - rf channel spacing. - allowable adjacent channel interference. - bit rate. - peak carrier deviati on (modulation index). - tx and rx reference oscillator accuracies. - modulator and demodulator linearity. - receiver if filter frequency and phase characteristics. - use of error correction techniques. - acceptable error rate. as a guide, 8000 bits/sec can be achieved (subjec t to local regulatory requirements) over a system with 12.5khz channel spacing if the transmitter frequency deviati on is set to 2khz peak for a repetitive ?1100?? pattern and t he maximum difference between transmitter and receiver ?carrier? frequencies is less than 1500hz. the modulation scheme employed by this modem is designed to achieve high data throughput by exploiting as much as possible of the rf channel bandwidth. th is does, however, place constraints on the performance of the radio. in particular, attention must be paid to: - linearity, frequency and phase respons e of the tx frequency modulator. - the bandwidth and phase response of the receiver?s if filters. - accuracy of the tx and rx reference oscilla tors, as any difference will shift the received signal towards the skirts of the if filter response and cause a dc offset at the discriminator output. viewing the received signal eye pattern, using the output of the frequency discriminator, gives a good indication of the overall tr ansmitter/receiver performance. figure 19 typical system installation
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 45 d/909b/2 7. performance specification 7.1. electrical performance 7.1.1. absolute maximum ratings exceeding these maximum ratings can result in damage to the device. min. max. units supply (v dd - v ss ) -0.3 7.0 v voltage on any pin to v ss -0.3 v dd + 0.3 v current into or out of v dd and v ss pins -30 +30 ma current into or out of any other pin -20 +20 ma e2 package min. max. units total allowable power dissipation at tamb = 25c - 1000 mw ... derating - 10.0 mw/c storage temperature -55 +125 c operating temperature -40 +85 c d5 package min. max. units total allowable power dissipation at tamb = 25c - 1490 mw ... derating - 14.9 mw/c storage temperature -55 +125 c operating temperature -40 +85 c p4 package min. max. units total allowable power dissipation at tamb = 25c - 1660 mw ... derating - 16.6 mw/c storage temperature -55 +125 c operating temperature -40 +85 c 7.1.2. operating limits correct operation of the device outsi de these limits is not implied. notes min. max. units supply (v dd - v ss ) 2.7 5.5 v operating temperature -40 +85 c xtal frequency 1.0 10.0 mhz
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 46 d/909b/2 7.1.3. operating characteristics for the following conditions unless otherwise specified: xtal frequency = 4.096mhz, bit rate = 8k bits/sec, noise bandwidth = bit rate, v dd = 3.0v to 5.5v, tamb = -40c to +85c. notes min. typ. max. units dc parameters i dd (running, v dd = 3.0v) 1 ? 2.0 ? ma i dd (running, v dd = 5.0v) 1 ? 2.9 ? ma i dd (powersave, v dd = 3.0v) 1 ? 0.4 ? ma i dd (powersave, v dd = 5.0v) 1 ? 0.9 ? ma i dd (powersave + no bias) 1 ? 0.75 ? ma i dd (powersave + no bias or xtal) 1 ? 10 ? a ac parameters tx output txop impedance (not powersaved) 2 ? 1.0 2.5 k txop impedance (powersaved) 2 ? 300 ? k signal level 3 0.9 1.0 1.1 v pk-pk tx data delay 4 ? 4 6 bits rx input rxin impedance (at 100hz) 10.0 ? ? m rxin amp voltage gain (i/p = 1mvrms at 100hz) ? 500 ? v/v input signal level 5 0.7 1.0 1.3 v pk-pk rx data delay 6 ? 3.5 ? bits xtal/clock input ?high? pulse width 7 40 ? ? ns ?low? pulse width 7 40 ? ? ns input impedance (at 100hz) 10.0 ? ? m gain (i/p = 1mvrms at 100hz) 20 ? ? db c interface input logic ?1? level 8, 9 70% ? ? v dd input logic ?0? level 8, 9 ? ? 30% v dd input leakage current (vin = 0 to v dd ) 8, 9 - 5.0 ? +5.0 a input capacitance 8, 9 ? 10.0 ? pf output logic ?1? level (l oh = 120a) 9 90% ? ? v dd output logic ?0? level (l ol = 360a) 9,10 ? ? 10% v dd ?off? state leakage current (vout = v dd ) 10 ? ? 10 a notes: 1. tamb = 25c, not including any current drawn from the modem pins by external circuitry other than r3, x1, c3 and c4. 2. small signal impedance, at v dd = 5.0v and tamb = 25c. 3. for ??1111000011110000...? bit sequence, at v dd = 5.0v and tamb = 25c (output level is proportional to v dd ). 4. measured between issuing first task after id le and the centre of the first bit at txop (see figure 7). 5. for optimum performance, measured at rxfb pin, for a ?...11110000...? bit sequence, at v dd = 5.0v and tamb = 25c. 6. measured between centre of last bit of an rx single byte or frame sync at rxin and an irq interrupt to the host c.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 47 d/909b/2 7. timing for an external input to the xtal/clock pin. 8. wrn, rdn, csn, a0 and a1 pins. 9. d0 - d7 pins. 10. irqn pin. timing diagrams figure 20 c parallel interface timings
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 48 d/909b/2 for the following conditions unless otherwise specified: xtal frequency = 4.096mhz, v dd = 3.0v to 5.5v, tamb = -40c to +85c. notes min. typ. max. units c parallel interface timings (ref. figure 20) t acsl address valid to csn low time 0 - - ns t ah address hold time 0 - - ns t csh csn hold time 0 - - ns t cshi csn high time 12 6 - - clock cycles t csrwl csn to wrn or rdn low time 0 - - ns t dhr read data hold time 0 - - ns t dhw write data hold time 0 - - ns t dsw write data setup time 90 - - ns t rhcsl rdn high to csn low time (write) 0 - - ns t racl read access time from csn low 11 - - 175 ns t rarl read access time from rdn low 11 - - 145 ns t rl rdn low time 200 - - ns t rx rdn high to d0-d7 3-state time - - 50 ns t whcsl wrn high to csn low time (read) 0 - - ns t wl wrn low time 200 - - ns notes: 11. with 30pf max to v ss on d0 - d7 pins. 12. xtal/clock cycles at the xtal/clock pin.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 49 d/909b/2 figure 21 typical bit error rate (noise in bit rate bandwidth) n.b. a block is deemed to be in error if the crc fails.
gmsk packet data modem CMX909B ? 2008 cml microsystems plc 50 d/909b/2 7.2. packaging figure 22 e2 mechanical outline: order as part no. CMX909Be2 figure 23 d5 mechanical outline: order as part no. CMX909Bd5
gmsk packet data modem CMX909B handling precautions: this product includes input protection, however, precautions should be taken to prevent device damage from electro-static discharge. cml does not assume any responsibility for the use of any circuitry described. no ipr or circu it patent licences are implied. cml reserves the right at any time without notice to change the said circuitry and this product specification. cml has a policy of test ing every product shipped using calibrated test equipment to ensure compliance with thi s product specification. specific testing of all circuit parameters is not necessarily performed. figure 24 p4 mechanical outline: order as part no. CMX909Bp4


▲Up To Search▲   

 
Price & Availability of CMX909B

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X